package com.sugon.modules.device.service;

import com.sugon.entity.InspectionRecordingJoinEntity;
import com.sugon.modules.device.model.vo.DevInspectExceptionReportParam;

/**
 * @author ： YuXD
 * @description： 设备巡检业务Manager
 * @date ： 2020-08-12 21:25
 * @version: 1.0
 */
public interface IDeviceInspectionManager {

    /**
     * 添加正常设备巡检记录
     *
     * @param inspectionRecord 设备巡检记录
     * @return
     */
    boolean addNormalDevInspectionRecord(InspectionRecordingJoinEntity inspectionRecord);

    /**
     * 添加异常的设备巡检记录
     *
     * @param devInspectExceptionReportParam 设备巡检异常上报参数
     * @return
     */
    boolean addExceptionDevInspectionRecord(DevInspectExceptionReportParam devInspectExceptionReportParam);

}
